﻿using System;
using System.Collections.Generic;
using VoiceAd.Models;

namespace VoiceAd.DAL
{
    public interface ISendMailGroupRepository : IDisposable
    {
        IEnumerable<tblSendMailGroup> GetList();
        IEnumerable<tblGroupMail> GetListGroup(int CampaignId);
        tblSendMailGroup GetById(int id);
        IEnumerable<tblSendMailGroup> GetByCampaignID(int lCampaignId);
        IEnumerable<tblSendMailGroup> GetByCampaignIDGroupNum(int lCampaignId, int lGroupNum);
        void Ins(tblSendMailGroup tbl);
        void Upd(tblSendMailGroup tbl);
        void Del(int id);
    }
}